﻿using DotNetCore.CAP;
using DotNetCore.CAP.NoStorage;
using DotNetCore.CAP.Persistence;

namespace Microsoft.Extensions.DependencyInjection
{
    internal class NostorageCapOptionsExtension : ICapOptionsExtension
    {
        public void AddServices(IServiceCollection services)
        {
            services.AddSingleton<IDataStorage, NoStorageStorage>();
        }
    }
}
